home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Updates / General / Frontier 3.0 to 3.0.3 Upg.sit / 3.0 => 3.0.3 Upgrader / Upgrade Files / Verb Upgrades / dialog.loadFromFile.rsrc next >
MacOS Resource Fork  |  1994-03-09  |  2.8 KB  |  [2CLK/LAND]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[2CLK]
macFileCreator[LAND]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 0a bf 32 43 4c 4b 4c 41 | 4e 44 01 00 00 00 00 00 |..2CLKLA|ND......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 0a 03 00 00 09 03 00 00 |........|........|
|00000060| 00 bc ff dc ff d4 4e 56 | 00 00 48 e7 07 00 1f 2e |......NV|..H.....|
|00000070| 00 08 4e ba ff 8c 3e 00 | 1e ae 00 0a 4e ba ff 82 |..N...>.|....N...|
|00000080| 3c 00 13 64 69 61 6c 6f | 67 2e 6c 6f 61 64 46 72 |<..dialo|g.loadFr|
|00000090| 6f 6d 46 69 6c 65 02 00 | 00 00 50 61 72 74 53 49 |omFile..|..PartSI|
|000000a0| 54 21 00 00 50 61 72 74 | 53 49 54 21 00 00 00 00 |T!..Part|SIT!....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 aa 13 b3 83 | 00 00 00 00 00 00 0a bf |........|........|
|000000d0| 4a 6d 82 d6 67 0c 2f 2e | 00 08 4e ad 37 da 70 01 |Jm..g./.|..N.7.p.|
|000000e0| 60 02 70 00 4e 5e 4e 75 | 96 6c 61 6e 67 65 78 74 |`.p.N^Nu|.langext|
|000000f0| 65 72 6e 61 6c 73 75 72 | 66 61 63 65 6b 65 79 00 |ernalsur|facekey.|
|00000100| 00 00 4e 56 00 00 48 e7 | 00 18 26 6e 00 0c 28 6e |..NV..H.|..&n..(n|
|00000110| 00 08 4e ad 00 da 20 54 | 10 10 48 80 0c 40 00 06 |..N... T|..H..@..|
|00000120| 62 3e 43 fa 00 62 d0 40 | d2 f1 00 00 4e d1 2f 0b |b>C..b.@|....N./.|
|00000130| 2f 0c 4e ad 13 f2 60 2a | 2f 0b 2f 0c 4e ad 3e 2a |/.N...`*|/./.N.>*|
|00000140| 60 20 2f 0b 2f 0c 4e ad | 34 62 60 16 2f 0b 2f 0c |` /./.N.|4b`././.|
|00000150| 4e ad 00 00 00 06 05 33 | 2e 30 2e 31 00 00 00 09 |N......3|.0.1....|
|00000160| 08 46 72 6f 6e 74 69 65 | 72 00 00 00 f0 00 01 04 |.Frontie|r.......|
|00000170| f6 00 02 00 00 00 0c 00 | 00 00 68 00 00 02 00 00 |........|..h.....|
|00000180| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000001b0| 54 00 00 a4 d0 77 90 a9 | 6b ef ae 00 00 00 06 00 |T....w..|k.......|
|000001c0| 00 00 aa 00 79 01 0e 01 | df 4c 41 4e 44 00 00 00 |....y...|.LAND...|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 63 61 6c 6c |........|.on call|
|000001f0| 69 6d 70 6f 72 74 65 72 | 20 28 70 61 74 68 29 20 |importer| (path) |
|00000200| c7 74 68 69 73 20 73 63 | 72 69 70 74 20 69 73 20 |.this sc|ript is |
|00000210| 73 61 76 65 64 20 77 69 | 74 68 20 61 6c 6c 20 65 |saved wi|th all e|
|00000220| 78 70 6f 72 74 65 64 20 | 6f 62 6a 65 63 74 73 0d |xported |objects.|
|00000230| 09 72 65 74 75 72 6e 20 | 28 65 78 70 6f 72 74 2e |.return |(export.|
|00000240| 69 6d 70 6f 72 74 65 72 | 20 28 70 61 74 68 29 29 |importer| (path))|
|00000250| 0d 80 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 0d 0c 63 61 6c 6c 69 6d | 70 6f 72 74 65 72 00 00 |..callim|porter..|
|00000270| 00 02 01 31 00 00 07 c7 | 73 63 70 74 00 01 04 f6 |...1....|scpt....|
|00000280| 00 02 00 00 01 0e 00 00 | 06 39 00 00 02 00 00 0f |........|.9......|
|00000290| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 06 54 |........|.......T|
|000002c0| 00 00 a6 57 82 ef a9 6b | ef af 00 00 00 12 00 00 |...W...k|........|
|000002d0| 00 3c 00 46 01 ef 01 ee | 4c 41 4e 44 00 00 00 00 |.<.F....|LAND....|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 6f 6e 20 6c 6f 61 64 46 |........|on loadF|
|00000300| 72 6f 6d 46 69 6c 65 20 | 28 70 61 74 68 29 0d 09 |romFile |(path)..|
|00000310| 6c 6f 61 64 73 20 74 68 | 65 20 44 4c 4f 47 2f 44 |loads th|e DLOG/D|
|00000320| 49 54 4c 20 72 65 73 6f | 75 72 63 65 73 20 66 72 |ITL reso|urces fr|
|00000330| 6f 6d 20 61 20 66 69 6c | 65 0d 09 09 66 69 72 73 |om a fil|e...firs|
|00000340| 74 20 77 65 20 74 72 79 | 20 74 6f 20 75 73 65 20 |t we try| to use |
|00000350| 74 68 65 20 70 61 74 68 | 20 61 73 20 61 20 66 69 |the path| as a fi|
|00000360| 6c 65 20 70 61 74 68 0d | 09 09 09 69 66 20 74 68 |le path.|...if th|
|00000370| 61 74 20 66 61 69 6c 73 | 2c 20 77 65 20 6c 6f 6f |at fails|, we loo|
|00000380| 6b 20 69 6e 20 74 68 65 | 20 44 69 61 6c 6f 67 73 |k in the| Dialogs|
|00000390| 20 66 6f 6c 64 65 72 0d | 09 09 74 68 65 6e 20 77 | folder.|..then w|
|000003a0| 65 20 6c 6f 61 64 20 69 | 6e 20 66 69 72 73 74 20 |e load i|n first |
|000003b0| 44 4c 4f 47 2f 44 49 54 | 4c 20 77 68 6f 73 65 20 |DLOG/DIT|L whose |
|000003c0| 69 64 20 69 73 20 32 35 | 30 30 30 20 6f 72 20 67 |id is 25|000 or g|
|000003d0| 72 65 61 74 65 72 0d 09 | 09 09 74 68 69 73 20 49 |reater..|..this I|
|000003e0| 44 20 77 61 73 20 63 68 | 6f 73 65 6e 20 61 74 20 |D was ch|osen at |
|000003f0| 72 61 6e 64 6f 6d 2c 20 | 62 79 20 63 6f 6e 76 65 |random, |by conve|
|00000400| 6e 74 69 6f 6e 20 61 6c | 6c 20 73 75 63 68 20 66 |ntion al|l such f|
|00000410| 69 6c 65 73 20 75 73 65 | 20 74 68 69 73 20 6e 75 |iles use| this nu|
|00000420| 6d 62 65 72 0d 09 09 77 | 65 20 61 6c 73 6f 20 6c |mber...w|e also l|
|00000430| 6f 61 64 20 69 6e 20 61 | 6c 6c 20 6f 74 68 65 72 |oad in a|ll other|
|00000440| 20 72 65 73 6f 75 72 63 | 65 73 20 77 68 6f 73 65 | resourc|es whose|
|00000450| 20 49 44 20 69 73 20 32 | 35 30 30 30 20 6f 72 20 | ID is 2|5000 or |
|00000460| 67 72 65 61 74 65 72 0d | 09 09 09 74 68 69 73 20 |greater.|...this |
|00000470| 61 6c 6c 6f 77 73 20 66 | 6f 72 20 63 75 73 74 6f |allows f|or custo|
|00000480| 6d 20 63 6f 6e 74 72 6f | 6c 73 2c 20 70 69 63 74 |m contro|ls, pict|
|00000490| 75 72 65 73 2c 20 65 74 | 63 2e 0d 09 09 74 68 65 |ures, et|c....the|
|000004a0| 6e 20 77 65 20 61 73 73 | 69 67 6e 20 74 68 65 20 |n we ass|ign the |
|000004b0| 6e 65 77 20 44 4c 4f 47 | 20 61 6e 20 49 44 0d 09 |new DLOG| an ID..|
|000004c0| 09 09 69 74 27 73 20 74 | 68 65 20 49 44 20 6f 66 |..it's t|he ID of|
|000004d0| 20 74 68 65 20 44 4c 4f | 47 20 77 65 20 6c 6f 61 | the DLO|G we loa|
|000004e0| 64 65 64 20 66 72 6f 6d | 20 74 68 65 20 6f 72 69 |ded from| the ori|
|000004f0| 67 69 6e 61 6c 20 66 69 | 6c 65 0d 09 09 09 69 66 |ginal fi|le....if|
|00000500| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 77 61 72 | perform|ance war|
|00000510| 72 61 6e 74 2c 20 77 65 | 27 6c 6c 20 63 6f 6d 65 |rant, we|'ll come|
|00000520| 20 75 70 20 77 69 74 68 | 20 61 20 77 61 79 20 74 | up with| a way t|
|00000530| 6f 20 61 6c 6c 6f 63 61 | 74 65 20 74 68 65 73 65 |o alloca|te these|
|00000540| 0d 09 09 09 73 6f 20 79 | 6f 75 20 64 6f 6e 27 74 |....so y|ou don't|
|00000550| 20 68 61 76 65 20 74 6f | 20 6c 6f 61 64 20 79 6f | have to| load yo|
|00000560| 75 72 20 72 65 73 6f 75 | 72 63 65 73 20 65 76 65 |ur resou|rces eve|
|00000570| 72 79 20 74 69 6d 65 20 | 79 6f 75 72 20 73 63 72 |ry time |your scr|
|00000580| 69 70 74 20 72 75 6e 73 | 0d 09 0d 09 69 66 20 6e |ipt runs|....if n|
|00000590| 6f 74 20 66 69 6c 65 2e | 65 78 69 73 74 73 20 28 |ot file.|exists (|
|000005a0| 70 61 74 68 29 0d 09 09 | 70 61 74 68 20 3d 20 46 |path)...|path = F|
|000005b0| 72 6f 6e 74 69 65 72 2e | 70 61 74 68 73 74 72 69 |rontier.|pathstri|
|000005c0| 6e 67 20 2b 20 22 44 69 | 61 6c 6f 67 73 3a 22 20 |ng + "Di|alogs:" |
|000005d0| 2b 20 70 61 74 68 0d 09 | 09 69 66 20 6e 6f 74 20 |+ path..|.if not |
|000005e0| 66 69 6c 65 2e 65 78 69 | 73 74 73 20 28 70 61 74 |file.exi|sts (pat|
|000005f0| 68 29 0d 09 09 09 73 63 | 72 69 70 74 45 72 72 6f |h)....sc|riptErro|
|00000600| 72 20 28 22 43 61 6e 27 | 74 20 6c 6f 63 61 74 65 |r ("Can'|t locate|
|00000610| 20 74 68 65 20 22 20 2b | 20 70 61 74 68 20 2b 20 | the " +| path + |
|00000620| 22 20 64 69 61 6c 6f 67 | 20 66 69 6c 65 2e 22 29 |" dialog| file.")|
|00000630| 0d 09 0d 09 6c 6f 63 61 | 6c 20 28 72 6f 6f 74 70 |....loca|l (rootp|
|00000640| 61 74 68 20 3d 20 46 72 | 6f 6e 74 69 65 72 2e 67 |ath = Fr|ontier.g|
|00000650| 65 74 46 69 6c 65 50 61 | 74 68 20 28 29 29 0d 09 |etFilePa|th ())..|
|00000660| 6c 6f 63 61 6c 20 28 67 | 6f 74 44 4c 4f 47 20 3d |local (g|otDLOG =|
|00000670| 20 66 61 6c 73 65 2c 20 | 67 6f 74 44 49 54 4c 20 | false, |gotDITL |
|00000680| 3d 20 66 61 6c 73 65 29 | 0d 09 6c 6f 63 61 6c 20 |= false)|..local |
|00000690| 28 64 6c 6f 67 49 44 20 | 3d 20 32 35 30 30 30 29 |(dlogID |= 25000)|
|000006a0| 0d 09 6c 6f 63 61 6c 20 | 28 69 78 74 79 70 65 2c |..local |(ixtype,|
|000006b0| 20 69 78 72 73 72 63 29 | 0d 09 6c 6f 63 61 6c 20 | ixrsrc)|..local |
|000006c0| 28 72 65 73 74 79 70 65 | 2c 20 69 64 2c 20 6e 61 |(restype|, id, na|
|000006d0| 6d 65 2c 20 78 29 0d 09 | 0d 09 66 6f 72 20 69 78 |me, x)..|..for ix|
|000006e0| 74 79 70 65 20 3d 20 31 | 20 74 6f 20 72 65 7a 2e |type = 1| to rez.|
|000006f0| 63 6f 75 6e 74 52 65 73 | 54 79 70 65 73 20 28 70 |countRes|Types (p|
|00000700| 61 74 68 29 0d 09 09 72 | 65 7a 2e 67 65 74 4e 74 |ath)...r|ez.getNt|
|00000710| 68 52 65 73 54 79 70 65 | 20 28 70 61 74 68 2c 20 |hResType| (path, |
|00000720| 69 78 74 79 70 65 2c 20 | 40 72 65 73 74 79 70 65 |ixtype, |@restype|
|00000730| 29 0d 09 09 66 6f 72 20 | 69 78 72 73 72 63 20 3d |)...for |ixrsrc =|
|00000740| 20 31 20 74 6f 20 72 65 | 7a 2e 63 6f 75 6e 74 52 | 1 to re|z.countR|
|00000750| 65 73 6f 75 72 63 65 73 | 20 28 70 61 74 68 2c 20 |esources| (path, |
|00000760| 72 65 73 74 79 70 65 29 | 0d 09 09 09 72 65 7a 2e |restype)|....rez.|
|00000770| 67 65 74 4e 74 68 52 65 | 73 49 6e 66 6f 20 28 70 |getNthRe|sInfo (p|
|00000780| 61 74 68 2c 20 72 65 73 | 74 79 70 65 2c 20 69 78 |ath, res|type, ix|
|00000790| 72 73 72 63 2c 20 40 69 | 64 2c 20 40 6e 61 6d 65 |rsrc, @i|d, @name|
|000007a0| 29 0d 09 09 09 69 66 20 | 69 64 20 3e 3d 20 32 35 |)....if |id >= 25|
|000007b0| 30 30 30 0d 09 09 09 09 | 63 61 73 65 20 72 65 73 |000.....|case res|
|000007c0| 74 79 70 65 0d 09 09 09 | 09 09 27 44 4c 4f 47 27 |type....|..'DLOG'|
|000007d0| 0d 09 09 09 09 09 09 69 | 66 20 67 6f 74 44 4c 4f |.......i|f gotDLO|
|000007e0| 47 0d 09 09 09 09 09 09 | 09 63 6f 6e 74 69 6e 75 |G.......|.continu|
|000007f0| 65 0d 09 09 09 09 09 09 | 67 6f 74 44 4c 4f 47 20 |e.......|gotDLOG |
|00000800| 3d 20 74 72 75 65 0d 09 | 09 09 09 09 09 64 6c 6f |= true..|.....dlo|
|00000810| 67 49 44 20 3d 20 69 64 | 0d 09 09 09 09 09 27 44 |gID = id|......'D|
|00000820| 49 54 4c 27 0d 09 09 09 | 09 09 09 69 66 20 67 6f |ITL'....|...if go|
|00000830| 74 44 49 54 4c 0d 09 09 | 09 09 09 09 09 63 6f 6e |tDITL...|.....con|
|00000840| 74 69 6e 75 65 0d 09 09 | 09 09 09 09 67 6f 74 44 |tinue...|....gotD|
|00000850| 49 54 4c 20 3d 20 74 72 | 75 65 0d 09 09 09 09 69 |ITL = tr|ue.....i|
|00000860| 66 20 72 65 7a 2e 67 65 | 74 52 65 73 6f 75 72 63 |f rez.ge|tResourc|
|00000870| 65 20 28 70 61 74 68 2c | 20 72 65 73 74 79 70 65 |e (path,| restype|
|00000880| 2c 20 69 64 2c 20 40 78 | 29 0d 09 09 09 09 09 72 |, id, @x|)......r|
|00000890| 65 7a 2e 70 75 74 52 65 | 73 6f 75 72 63 65 20 28 |ez.putRe|source (|
|000008a0| 72 6f 6f 74 70 61 74 68 | 2c 20 72 65 73 74 79 70 |rootpath|, restyp|
|000008b0| 65 2c 20 69 64 2c 20 40 | 78 29 0d 09 69 66 20 6e |e, id, @|x)..if n|
|000008c0| 6f 74 20 28 67 6f 74 44 | 4c 4f 47 20 61 6e 64 20 |ot (gotD|LOG and |
|000008d0| 67 6f 74 44 49 54 4c 29 | 0d 09 09 73 63 72 69 70 |gotDITL)|...scrip|
|000008e0| 74 45 72 72 6f 72 20 28 | 22 43 61 6e 27 74 20 6c |tError (|"Can't l|
|000008f0| 6f 63 61 74 65 20 74 68 | 65 20 64 69 61 6c 6f 67 |ocate th|e dialog|
|00000900| 20 72 65 73 6f 75 72 63 | 65 73 20 69 6e 20 22 20 | resourc|es in " |
|00000910| 2b 20 70 61 74 68 20 2b | 20 22 2e 22 29 0d 09 0d |+ path +| ".")...|
|00000920| 09 72 65 74 75 72 6e 20 | 28 64 6c 6f 67 49 44 29 |.return |(dlogID)|
|00000930| 0d 80 00 00 00 00 00 84 | 00 00 00 00 00 80 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|00000980| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|00000990| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000009a0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 80 |........|........|
|000009b0| 00 00 00 00 00 80 00 00 | 00 00 00 80 00 00 00 00 |........|........|
|000009c0| 00 80 00 00 00 00 00 80 | 00 00 00 00 00 80 00 00 |........|........|
|000009d0| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 80 00 00 00 00 | 00 80 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 12 03 01 80 00 00 | 00 05 33 2e 30 2e 31 05 |........|..3.0.1.|
|00000a50| 33 2e 30 2e 31 00 00 01 | 00 00 00 0a 03 00 00 09 |3.0.1...|........|
|00000a60| 03 00 00 00 bc 01 12 86 | 70 17 24 00 00 00 1c 00 |........|p.$.....|
|00000a70| 92 00 03 53 54 52 20 00 | 03 00 22 73 63 70 74 00 |...STR .|.."scpt.|
|00000a80| 00 00 52 64 61 74 61 00 | 00 00 5e 76 65 72 73 00 |..Rdata.|..^vers.|
|00000a90| 00 00 6a 00 80 ff ff 00 | 00 00 00 00 00 00 00 bf |..j.....|........|
|00000aa0| f4 ff ff 00 00 00 0a 00 | 00 00 00 00 82 ff ff 00 |........|........|
|00000ab0| 00 01 0b 00 00 00 00 00 | 7f ff ff 00 00 01 1c 00 |........|........|
|00000ac0| 00 00 00 00 81 ff ff 00 | 00 00 17 00 00 00 00 70 |........|.......p|
|00000ad0| 00 00 00 00 00 01 22 00 | 00 00 00 00 01 ff ff 00 |......".|........|
|00000ae0| 00 08 ed 01 11 e4 e0 29 | 73 79 73 74 65 6d 2e 76 |.......)|system.v|
|00000af0| 65 72 62 73 2e 62 75 69 | 6c 74 69 6e 73 2e 64 69 |erbs.bui|ltins.di|
|00000b00| 61 6c 6f 67 2e 6c 6f 61 | 64 46 72 6f 6d 46 69 6c |alog.loa|dFromFil|
|00000b10| 65 | |e | |
+--------+-------------------------+-------------------------+--------+--------+